.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40rpx;
  background-color: #f5f5f5;
}

.date-selector {
  display: flex;
  align-items: center;
  width: 950rpx;
  margin-bottom: 20rpx;
}
.date-selector .arrow:first-of-type {
  background-color: transparent;
  border: none;
  margin-left: 200rpx;
  font-size: 40rpx;
  color: #6bc1c2;
}

.date-selector .arrow:last-of-type {
  background-color: transparent;
  border: none;
  margin-right: 250rpx;
  font-size: 40rpx;
  color: #6bc1c2;
}
.date {
  margin-left: 20rpx;
  font-size: 36rpx;
  font-weight: bold;
}

.goal-section {
  margin: 40rpx 0;
}
.goal-text1 {
  font-size: 30rpx;
  font-weight: bold;
  color: rgba(51, 51, 51, 0.842);
}
.goal-text2 {
  font-size: 40rpx;
  font-weight: bold;
  color: rgba(51, 51, 51, 0.842);
}

.cup-container {
  position: relative;
  margin: 100rpx 0;
  width: 250rpx;
  height: 300rpx;
}

.cup-image{
  margin-left: -77rpx;
  margin-top: -121rpx;
  width: 440rpx;
  height: 430rpx;
}

.cup-outline {
  width: 100%;
  height: 100%;
  border: 4rpx solid transparent;
  border-radius: 20rpx;
  position: relative;
  background-color: #fff;
}

.water-level {
  width: 100%;
  position: absolute;
  bottom: 0;
  background-color: #afd2f8;
  border-radius: 0 0 20rpx 20rpx;
  transition: height 0.5s ease;
}

.water-text {
  position: absolute;
  bottom: 10rpx;
  width: 100%;
  text-align: center;
  color: #fff;
  font-size: 32rpx;
  font-weight: bold;
}
.goal-image{
  position: absolute;
  margin-top: 20rpx;
  margin-left: 160rpx;
  width: 150rpx;
  height: 150rpx;
  z-index: 3;
}
.goal-reached {
  font-weight: bold;
  position: absolute;
  top: -80rpx;
  font-size: 36rpx;
  text-align: center;
}
.add-water-btn {
  background-color: #6bc1c2;
  color: white;
  padding: 20rpx 40rpx;
  font-size: 36rpx;
  border-radius: 50rpx;
  margin-bottom: 40rpx;
}

.records-section {
  width: 100%;
  background-color: #fff;
  border-radius: 20rpx;
  padding: 30rpx;
  box-shadow: 0 8rpx 12rpx rgba(0, 0, 0, 0.1);
}

.record-title {
  font-size: 36rpx;
  font-weight: bold;
  margin-bottom: 20rpx;
}

.record-item {
  display: flex;
  padding: 30rpx 0;
  border-bottom: 1px solid #eee;
}
.water{
  width: 50rpx;
  height: 50rpx;
}
.record-item text:nth-of-type(1) {
  font-size: 35rpx;
 margin-left: 35rpx;
 font-weight: bold;
}

.record-item text:nth-of-type(2) {
  margin-left: 380rpx;
  font-size: 25rpx;
  color: black; /* 示例：设置字体颜色为绿色 */
}

.record-item:last-child {
  border-bottom: none;
}
